header{
  width: 100%;
  height: auto;
  display: flex;
}

p:hover{
  color: #c35f5f;
}
h1{
    font-family: sans-serif, '黑体';
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid rgba(0, 0, 200, 0.6);
  background: rgb(246, 214, 4);
  color: rgb(255, 0, 0);
  box-shadow: 1px 1px 2px rgba(0, 0, 200, 0.4);
  border-radius: 10px;
  padding: 3px 10px;
  display: inline-block;
  cursor: pointer;
}
h1{
    font-size: xx-large;
}
#一{
  float: inline-end;
}
.a1{
  flex: 0.1;
  margin: 5px;
}
.a2{
  margin: 5px;
  flex: 0.1;
  font-size: large;
}

.a3{
  margin: 5px;
  flex: 0.1;
}
html{
    background-image:url("img/img3.jpg") ;
}
#简介{
  position:  relative;
left:470px;
}
a:link{
    color: black;
}
a:visited{
    color: brown;
}
a:hover{
    text-decoration: none;
}

#js{
    padding: 10px;
            border: 2px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
}

#box{
    height: 700;
    width: 700;
    position: relative;
    box-shadow: 10px 10px 10px rgb(116, 116, 116);
  }

#登录{
    font-family: 'CustomFont'; 
    src: url('font/HYXiangPiNiW.ttf') format('truetype');
  }

  #music1{
    padding: 50px;
    border: 5px solid yellow;
  }
  #js{
    margin: 40px;
    padding: 40px;
  }
  #mc {
    z-index: 10px;
    position: fixed;
    /* position: fixed; */
    right: 20PX;
    bottom: 20px;
  
}
#桌宠{
  width: 146px;
  height: 191px;
  border-radius: 20px;
  box-shadow: 15px 10px 10px black;
  animation:warma 1.6s ease-in-out infinite alternate ;
}

.桌宠:hover{
  animation-play-state: paused;
}
#music2{
  width: 20px;
  height: 20px;
}

@keyframes warma{
  0%{
    background-image: url(img/img8.jpg);
  }
  50%{
    background-image: url(img/img11.jpg);
  }

  100%{
    background-image: url(img/img13.jpg);
  }
} 

#clock{
  animation: breathe 1s ease-in-out infinite alternate;
}
@keyframes breathe {
  0% {
      opacity: 0.2;
      box-shadow: 0 1px 2px rgba(255, 255, 255, 0.1)
  }

  50% {
      opacity: 0.5;
      box-shadow: 0 1px 2px rgba(18, 190, 84, 0.76)
  }

  100% {
      opacity: 1;
      box-shadow: 0 1px 30px rgba(59, 255, 255, 1)
  }
}

@media screen and (max-width: 768px){
  .p1{
      display: block;
  }
  .p2{
      display: none;
  }
  .p3{
    display: none;
  }
} 

@media screen and (min-width:768px) and (max-width:996px){
  .p1{
      display: none;
  }
  .p2{
      display: block;
  }
  .p3{
    display: none;
  }
}

@media screen and (min-width:996px) {
  .p1{
      display: none;
  }
  .p2{
      display: none;
  }
  .p3{
    display: block;
  }
}